#ifndef PERSONINFO_H
#define PERSONINFO_H

#include <QWidget>

namespace Ui {
class personinfo;
}

class personinfo : public QWidget
{
    Q_OBJECT

public:
    explicit personinfo(QString nuser_info, QWidget *parent = nullptr);
    ~personinfo();
    void set_head(QPixmap head);
    void set_job(QString job);
    void set_ip(QString ip);
    void set_name(QString name);

private slots:
    void on_pushButton_clicked();

private:
    Ui::personinfo *ui;
    QString user_id;
};

#endif // PERSONINFO_H
